<?php /* Smarty version 2.6.26, created on 2012-07-06 21:53:12
         compiled from user_change_pass.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'utf8_escape_js', 'user_change_pass.html', 11, false),array('modifier', 'utf8_escape_html', 'user_change_pass.html', 34, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<script type="text/javascript">

	function validate()
	{
		var pass = document.getElementById('PASS');
        var repass = document.getElementById('REPASS');
        
        
        if(isEmptyTextBox(pass, '<?php echo ((is_array($_tmp=@_LB_PASSWORD_IS_EMPTY)) ? $this->_run_mod_handler('utf8_escape_js', true, $_tmp) : smarty_modifier_utf8_escape_js($_tmp)); ?>
'))
			return false;
        
        if(!isValidLengthTextBox(pass, <?php echo @MAX_LENGTH_PASSWORD; ?>
, '<?php echo ((is_array($_tmp=@_MSG_PASSWORD_IS_TOO_LONG)) ? $this->_run_mod_handler('utf8_escape_js', true, $_tmp) : smarty_modifier_utf8_escape_js($_tmp)); ?>
')){
            return false;
        }
        
        if(!isValidMinLengthTextBox(pass, <?php echo @MIN_LENGTH_PASSWORD; ?>
, '<?php echo ((is_array($_tmp=@_MSG_PASSWORD_IS_TOO_SHORT)) ? $this->_run_mod_handler('utf8_escape_js', true, $_tmp) : smarty_modifier_utf8_escape_js($_tmp)); ?>
')){
            return false;
        }
        
        if(pass.value != repass.value){
            showErrorBubble(pass, '<?php echo ((is_array($_tmp=@_LB_PASSWORD_DOESNT_MATCH)) ? $this->_run_mod_handler('utf8_escape_js', true, $_tmp) : smarty_modifier_utf8_escape_js($_tmp)); ?>
');
            return false;
        }
		document.user_form.submit();
	}



</script>

		<div class="box_two_third">
			<div class="box_head"><?php echo ((is_array($_tmp=@_LB_ACCOUNT_MANAGEMENT)) ? $this->_run_mod_handler('utf8_escape_html', true, $_tmp) : smarty_modifier_utf8_escape_html($_tmp)); ?>
</div>
			<div class="box_content">
				<form action="<?php echo $_SERVER['REQUEST_URI']; ?>
" method="post" name="user_form">
				<input type="hidden" id="ID" value="<?php echo $this->_tpl_vars['user']->ID; ?>
"/>
				<input type="hidden" id="act" name="act" value="<?php echo @ACT_VALID_EDIT; ?>
"/>
				<table>
					<tr>
						<td width="20%"><?php echo ((is_array($_tmp=@_LB_PASSWORD)) ? $this->_run_mod_handler('utf8_escape_html', true, $_tmp) : smarty_modifier_utf8_escape_html($_tmp)); ?>
&nbsp;:&nbsp;<?php echo @_LB_REQUIRE_FIELD; ?>
</td>
                        <td colspan="3"><input name="PASS" id="PASS" type="password" size="<?php echo @SIZE_NAME; ?>
" value="" /></td>
					</tr>
                    <tr>
						<td ><?php echo ((is_array($_tmp=@_LB_REPEAT_PASSWORD)) ? $this->_run_mod_handler('utf8_escape_html', true, $_tmp) : smarty_modifier_utf8_escape_html($_tmp)); ?>
&nbsp;:&nbsp;<?php echo @_LB_REQUIRE_FIELD; ?>
</td>
						<td colspan="3"><input name="REPASS" id="REPASS" type="password" size="<?php echo @SIZE_NAME; ?>
" value="" /></td>
					</tr>
					<tr>
                        <td class="submit" colspan="4" style="padding-top:10px"><br />
                            <a class="tribullet" href="<?php echo $this->_tpl_vars['backlink']; ?>
"><?php echo @_LB_BACK; ?>
</a>
                            <a class="tribullet" href="#" onclick="validate()"><?php echo @_LB_VALIDATE; ?>
</a>
                        </td>
                    </tr>
				</table>
				</form>

			</div>
		</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>